package com.offcn.user.dao;

import com.offcn.user.pojo.UserPhone;
import com.offcn.user.pojo.UserPhoneExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserPhoneMapper {
    int countByExample(UserPhoneExample example);

    int deleteByExample(UserPhoneExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserPhone record);

    int insertSelective(UserPhone record);

    List<UserPhone> selectByExample(UserPhoneExample example);

    UserPhone selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserPhone record, @Param("example") UserPhoneExample example);

    int updateByExample(@Param("record") UserPhone record, @Param("example") UserPhoneExample example);

    int updateByPrimaryKeySelective(UserPhone record);

    int updateByPrimaryKey(UserPhone record);
}